package com.lening.iot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.iot.dto.AccontrolDTO;
import com.lening.iot.po.AccontrolPO;
import com.lening.iot.vo.AccontrolVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ToDo:
 * @Author：李忠达
 * @date: 2024/6/4 10:05
 */
@Mapper
public interface AccontrolDAO extends BaseMapper<AccontrolPO> {

//    List<Accontrol>getAllAc(@Param("community_name")String community_name);
Page<AccontrolDTO> getAllAcl(Page<AccontrolDTO> accontrolDTO);

AccontrolVO getId(Long id);

List<AccontrolDTO> getAll(@Param("communityName")String communityname);
}
